package org.marketing.common.event;

import org.marketing.common.constants.FlowStep;

//通过exchange路由消息到push or bizService
//包含流程步骤信息，用于微服务异常产生不一致时，发现异常
public class MessageEvent {
	private String eventType;
	//业务类型，如工单完结
	private Integer bizType;
	//业务步骤，其定义于流程定义表中
	private FlowStep setp;
	//事件ID，事件的唯一值，串联各个业务步骤
	private String eventKey;
	//业务单据编号
	private String billCode;
	//业务消息体
	private String body;
	public String getEventType() {
		return eventType;
	}
	public void setEventType(String eventType) {
		this.eventType = eventType;
	}
	public Integer getBizType() {
		return bizType;
	}
	public void setBizType(Integer bizType) {
		this.bizType = bizType;
	}
	public FlowStep getSetp() {
		return setp;
	}
	public void setSetp(FlowStep setp) {
		this.setp = setp;
	}
	public String getEventKey() {
		return eventKey;
	}
	public void setEventKey(String eventKey) {
		this.eventKey = eventKey;
	}
	public String getBillCode() {
		return billCode;
	}
	public void setBillCode(String billCode) {
		this.billCode = billCode;
	}
	public String getBody() {
		return body;
	}
	public void setBody(String body) {
		this.body = body;
	}
	
}
